<%= controller.ardata.labels[:index_title] -%>
<%= "#{@parent_resource.label}." if @parent_resource %>
<br/>
<% if @resources && @resources.length > 0 %>
<div id="auto_rest_index_table">
  <%= render controller.ardata.templates.index_partial %>
</div>
<% else %>
<%= controller.ardata.labels[:empty_table] -%>
<% end %>
<br/>
<%= ar_create_link if controller.ardata.links.include? :new -%>
&nbsp;
<%= ar_search_link if controller.ardata.links.include?(:search) && controller.ardata.ferret.enabled -%>